import 'package:json_annotation/json_annotation.dart';

part 'keyword_model.g.dart';


@JsonSerializable()
class KeywordModel extends Object {

  List<Keyword_list> keyword_list;

  int errcode;

  String message;

  KeywordModel(this.keyword_list,this.errcode,this.message,);

  factory KeywordModel.fromJson(Map<String, dynamic> srcJson) => _$KeywordModelFromJson(srcJson);

  Map<String, dynamic> toJson() => _$KeywordModelToJson(this);

}


@JsonSerializable()
class Keyword_list extends Object {

  String type;

  String keyword;

  int count;

  Keyword_list(this.type,this.keyword,this.count,);

  factory Keyword_list.fromJson(Map<String, dynamic> srcJson) => _$Keyword_listFromJson(srcJson);

  Map<String, dynamic> toJson() => _$Keyword_listToJson(this);

}


